package v1

import (
	"github.com/gogf/gf/v2/frame/g"
)

type SettingRoleUpdateReq struct {
	g.Meta     `path:"/setting/role/update" tags:"setting" method:"post" summary:"更新角色信息"`
	Uuid       string  `json:"uuid" v:"required#uuid不能为空" dc:"角色唯一标识"`
	RoleName   *string `json:"roleName"   v:"required#角色名称不能为空" dc:"角色名称"`
	RoleCode   *string `json:"roleCode"   v:"required#角色编码不能为空" dc:"角色编码"`
	RoleNotes  *string `json:"roleNotes" dc:"角色备注"`
	RoleStatus int     `json:"roleStatus" v:"required#角色状态不能为空" dc:"角色状态"`
	RoleSort   int     `json:"roleSort"   v:"required#角色排序不能为空" dc:"角色排序"`
}

type SettingRoleUpdateRes struct{}
